<%@page import="com.tucue.model.AppPolicy" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>APP资讯详情</title>
    <link rel="stylesheet" href="<%request.getContextPath();%>/css/bootstrap.min.css"/>
    <link rel="stylesheet"  href="<%request.getContextPath();%>/css/commonStyle.css"/>
    <link rel="stylesheet" href="<%request.getContextPath();%>/css/tinyeditor.css"/>
    <script src="<%request.getContextPath();%>/js/jquery-1.11.2.min.js"></script>
    <script src="<%request.getContextPath();%>/js/bootstrap.min.js"></script>
    <script src="<%request.getContextPath();%>/js/tinyeditor.js"></script>
    <!--  Text Editor begin  -->
    <script charset="utf-8" src="<%request.getContextPath();%>/js/kindeditor/kindeditor-min.js"></script>
    <script charset="utf-8"  src="<%request.getContextPath();%>/js/kindeditor/lang/zh_CN.js"></script>
    <script>
        var editor;
        KindEditor.ready(
                function(K)
                {
                    editor = K.create('textarea[name="texteditor_con"]',
                            {
                                allowFileManager : true ,
                                resizeType:0
                            }
                    );

                }
        );
    </script>
    <!--  Text Editor end  -->
</head>

<body>
    <div class="container" style="margin:0px; width:1052px;">
    <div class="row show-grid">
    	<h3 class="Page_title">${titlename}</h3>
    </div>
    <div class="row show-grid unified-border">
<!--      标题-->
       <hr/>
       
<!--       条目信息区域-->
       <div class="row">
          <div class="col-sm-9" style="margin-left:133px;">
           <table class="table">
               <tr>
                   <td>创建编辑：<span id="">${appPolicy.userid}</span></td>
                   <td>创建时间：<span id="">${appPolicy.createtime}</span></td>
                   <td>上线时间：<span id="">${appPolicy.publishtime}</span></td>
               </tr>
               <tr>
                   <td>累计浏览量：<span id="">${appPolicy.pageview}</span></td>
                   <td>当前状态：<span id="">${appPolicy.status}</span></td>
                   <td></td>
               </tr>
           </table>
           </div>
       </div>
       
        <form class="form-horizontal">
         
<!--         标题-->
          <div class="form-group">
            <label for="title" class="col-sm-2 control-label">标题</label>
            <div class="col-sm-3">
                <input type="text" class="form-control" id="title" value="${appPolicy.title}" readonly>
            </div>
          </div>
<!--          分类-->
          <div class="form-group">
            <label for="kind" class="col-sm-2 control-label">分类</label>
            <div class="col-sm-3">
                <select name="来源" id="kind" class="form-control" readonly>
                    <option value="吃喝玩乐">吃喝玩乐</option>
                    <option value="政府相关">政府相关</option>
                </select>
            </div>
          </div>
<!--          来源-->
          <div class="form-group">
            <label for="Source" class="col-sm-2 control-label">来源</label>
            <div class="col-sm-3">
                <input type="text" class="form-control" id="Source" value="${appPolicy.source}" readonly>
            </div>
          </div>
<!--          发布区域-->
          <div class="form-group">
            <label class="col-sm-2 control-label">发布地域</label>
            <div class="col-sm-2">
                <select name="省份" id="Province" class="form-control" readonly>
                    <option value="浙江省">浙江省</option>
                    <option value="不限">不限</option>
                </select>
            </div>
            <div class="col-sm-2">
                <select name="城市" id="city" class="form-control" readonly>
                    <option value="杭州市">杭州市</option>
                    <option value="不限">不限</option>
                </select>
            </div>
            <div class="col-sm-2">
                <select name="来源" id="area" class="form-control" readonly>
                    <option value="区">县/区</option>
                    <option value="不限">不限</option>
                </select>
            </div>
            <div class="col-sm-2">
                <select name="园区" id="park" class="form-control" readonly>
                    <option value="园区">园区</option>
                    <option value="不限">不限</option>
                </select>
            </div>
          </div>
          <!--          附件-->
          <div class="form-group">
            <label for="Source" class="col-sm-2 control-label">附件</label>
            <div class="col-sm-8">
            <textarea style="width:750px; height:100px" readonly></textarea>
            </div>
          </div>
          
<!--          文本编辑器-->
          <div class="form-group">
            <label class="col-sm-2 control-label">正文</label>
              <div id="tro" class="col-sm-5" style="margin-top:10px; margin-left:14px;">
                  <textarea name="texteditor_con" style=" display:block;width:750px;height:450px; margin-left:0px;">${appPolicy.content}</textarea>
              </div>
          </div>

        </form>
        </div>
        </div>
</body>
</html>